html {
  scrollbar-color: #666 #fff;
  /* scrollbar-width: thin; */
  font-size: 1rem;
}

body {
  font-family: "Lexend Deca";
  font-optical-sizing: auto;
  font-stretch: 25% 151%;
  margin: 0;
  padding: 0;
}
h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-family: "Lexend Deca";
}
#ai-advantage {
  background-color: #03316d;
  font-family: "Lexend Deca", sans-serif;
}
.ai-bg {
  background-color: #010e1b;
}
.ai-hero-outer {
  border-radius: 0px;
  background: #010e1b;
  background-image: url(../../whiteForest/images/services/service-background.webp);
  background-size: cover;
  border-radius: 0px 0px 70px 70px;
  position: relative;
  /* overflow: hidden; */
  padding: 10rem clamp(2rem, 6vw, 6rem) 7rem clamp(2rem, 6vw, 6rem);
}

.ai-hero {
  /* height: 100vh; */
  margin: 0 auto;
  max-width: min(90rem, 100% - 1rem);
  align-items: center;
  font-family: "Lexend Deca", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  padding: 0;
  /* overflow: hidden; */
  position: relative;
}
.ai-hero-container {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  justify-content: space-between;
}
.whitepaper-hero-container .hero-link {
  padding-bottom: 32px;
  color: #3e77ae;
}
.whitepaper-hero-container .hero-link:hover {
  color: #fff;
}
.whitepaper-hero-container .hero-link:hover svg path {
  fill: #fff;
}
.ai-hero-container a:hover {
  color: #fff;
}

.service-hero-container {
  flex-direction: column;
  display: flex;
  width: 100%;
}

.service-hero-title-section {
  max-width: 865px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  text-align: center;
  margin: 0 auto;
}
.service-hero-title-section h1 {
  color: #fff;
  font-size: 3.75rem;
  font-family: "Lexend Deca", sans-serif;
  line-height: normal;
}
.service-hero-title-section p {
  color: #fff;
  font-size: 1rem;
  font-family: "Lexend Deca", sans-serif;
  padding: 24px 50px;
  margin: 0 auto;
}
.button-container {
  margin: 0;
  display: flex;
  gap: 15px;
  justify-content: center;
}

.service-primary-button {
  border-radius: 200px;
  border: 1px solid #fff;
  background: transparent;
  display: flex;
  padding: 10px 20px;
  justify-content: center;
  align-items: center;
  color: #fff;
  gap: 5px;
  font-size: 14px;
  font-weight: 400;
}

.service-primary-button:hover,
.service-primary-button:focus {
  box-shadow: 0px 0px 18px 0px #043f8c;
  color: #fff;
  transition: 0.5s ease-in;
}

.service-primary-button:focus-visible {
  box-shadow: 0 0 0 3px rgb(2, 4, 24);
}
.service-secondary-button {
  border-radius: 200px;
  border: 1px solid #020418;
  background: #fff;
  display: flex;
  padding: 10px 20px;
  justify-content: center;
  align-items: center;
  color: #061b30;
  gap: 5px;
  font-family: "Lexend Deca", sans-serif;
  font-weight: 400;
  font-size: 14px;
}

.service-secondary-button:hover,
.service-secondary-button:focus {
  box-shadow: 0px 0px 18px 0px #043f8c;
  color: #061b30;
  transition: 0.5s ease-in;
}

.service-secondary-button:focus-visible {
  box-shadow: 0 0 0 3px rgb(2, 4, 24);
}
.hero-container-floating-logo {
  position: relative;
  /* min-height: 100vh; */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-content-floating-logo {
  text-align: center;
  z-index: 10;
  max-width: 1000px;
  padding: 2rem;
}

.logo-floating-logo {
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 8px;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 24px;
  color: #0f172a;
}

.main-title-floating-logo {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: white;
  line-height: 1.1;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.subtitle-floating-logo {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons-floating-logo {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-floating-logo {
  padding: 0.875rem 2rem;
  border-radius: 2rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
}

.btn-primary-floating-logo {
  background: white;
  color: #0f172a;
}
.btn-primary-floating-logo:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.btn-secondary-floating-logo {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}
.btn-secondary-floating-logo:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.floating-icon-floating-logo {
  position: absolute;
  width: 58px;
  height: 58px;
  z-index: 5;
  pointer-events: none;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  opacity: 0;
}

.floating-icon-floating-logo svg {
  width: 100%;
  height: 100%;
  fill: white;
}
.floating-icon-floating-logo img.floating-ai-icons {
  width: 58px;
  height: 58px;
}

.grid-overlay-floating-logo {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.02) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  opacity: 0.3;
  pointer-events: none;
}

/* .particle {
      position: absolute;
      width: 2px;
      height: 2px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 50%;
    } */

.services-list-outer {
  background: #fff;
  padding: 3rem clamp(2rem, 6vw, 6rem);
}
.services-container {
  margin: 0 auto;
  max-width: min(90rem, 100% - 1rem);
  align-items: center;
  font-family: "Lexend Deca", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  padding: 0;
}

/* AI Development Card Styles */
.ai-services-card-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
.ai-service-card {
  box-sizing: border-box;
  display: flex;
  position: relative;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 2rem 2rem 0 2rem;
  max-width: 100%;
  border-radius: 1rem;
  flex: 1 0 0;
  height: 518px;
  border-radius: 16px;
  border: 2px solid rgba(34, 134, 232, 0.15);
  background: linear-gradient(
    139deg,
    rgba(71, 163, 254, 0) 8.39%,
    rgba(71, 163, 254, 0.16) 98.67%
  );
  overflow: hidden;
  cursor: pointer;
}
svg.ai-service-icon {
  position: absolute;
  right: 2rem;
  top: 2.8rem;
  transition: all 0.5s ease;
}
.ai-service-card:hover svg.ai-service-icon path {
  stroke: #03316d;
}
.ai-service-card:hover svg.ai-service-icon {
  transition: all 0.5s ease;
  right: 1.5rem;
}

.ai-dev-title {
  position: relative;
  align-self: stretch;
  margin-bottom: 25px;
}

.ai-dev-title h3 {
  font-size: 1.875rem;
  font-weight: 500;
  color: #0f172a;
  line-height: 2.25rem;
  margin-bottom: 0;
  padding-right: 32px;
}

.ai-dev-description {
  position: relative;
  max-width: 100%;
  font-size: 1rem;
  color: #000000;
  /* width: 473px; */
  line-height: 1.5rem;
  margin-bottom: 25px;
}

.ai-dev-image-container {
  display: flex;
  position: relative;
  flex-direction: column;
  gap: 0.625rem;
  align-items: center;
  align-self: stretch;
  padding: 0;
}

.ai-dev-image {
  position: relative;
  max-width: 100%;
  /* aspect-ratio: 93/58;
  height: 358px; */
  width: 100%;
}

/* Service dfetail page style start here */

#ai-advantage {
  background-color: #03316d;
  font-family: "Lexend Deca", sans-serif;
}
.main-services-bg {
  background: #fff;
}
.ai-bg {
  background-color: #010e1b;
}

.ai-hero {
  /* height: 100vh; */
  margin: 0 auto;
  max-width: min(90rem, 100%);
  align-items: center;
  font-family: "Lexend Deca", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  padding: 0;
  overflow: hidden;
  position: relative;
}
.ai-hero .ai-health-circle {
  position: absolute;
  left: 50%;
  transform: translate(-50%, 15%);
  bottom: -65%;
  margin: 0 auto;
  z-index: 0;
  max-width: 1000px;
  min-width: 365px;
  margin: 0 auto;
}

.banner-radial-bg-adv {
  position: absolute;
  left: -5%;
  width: 48%;
  height: 38rem;
  border-radius: 50%;
  opacity: 0.2;
  background: radial-gradient(
    50% 50% at 50% 50%,
    #00c4ffe0 0%,
    #008cffad 49%,
    rgba(160, 212, 235, 0) 100%
  );
  position: absolute;
  right: 0;
  bottom: 2%;
}

.ai-hero-container {
  padding: 0px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  width: 100%;
  /* height: 100%; */
  max-width: min(90rem, 100%);
  position: relative;
  margin: 0 auto;
}

.ai-hero-left {
  width: 48%;
  /* max-width: 880px; */
  margin: 0;
  position: relative;
  padding: 0 55px 0 0;
}
.ai-hero-left a.link_ref {
  margin: 0 auto;
  display: flex;
}
.ai-hero-left .cta-button.nav-link-connect {
  margin: 0 auto;
  background-color: #fff;
  border: 0;
  color: #010e1b;
  font-weight: 400;
  padding: 5px 25px;
}

.ai-hero-right {
  position: relative;
  width: 50%;
}
.ai-hero-right img {
  max-height: 470px;
  mix-blend-mode: lighten;
}

.banner-ai-gradient {
  background: linear-gradient(90deg, #4deefd, #0385ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
}

.ai-hero-heading {
  font-size: 3rem;
  color: #fff;
  font-weight: 400;
  letter-spacing: -0.9px;
  text-align: left;
  position: relative;
  display: table;
  padding-top: 15px;
  margin: 0 auto;
  /* max-width: 925px; */
}
.ai-icon-hero {
  position: absolute;
  left: 15px;
  top: -10px;
}

.ai-hero-description {
  font-size: 1rem;
  color: #fff;
  font-weight: 300;
  margin-top: 15px;
  line-height: 27px;
  max-width: 695px;
  text-align: left;
  margin: 0;
  padding: 24px 0 0 0;
}

.hero-explore {
  background: #fff;
  padding: 10px 20px;
  width: fit-content;
  border-radius: 200px;
  display: flex;
  gap: 5px;
  align-items: center;
  margin-top: 4cqmin;
}

.content-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
  line-height: 1.2;
  color: #010e1b;
  font-family: "Lexend Deca";
  font-weight: 500;
  text-align: center;
  background: linear-gradient(90deg, #2286e8 7.48%, #043f8c 93.3%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.content-title span {
  /* background: linear-gradient(90deg, #07f4ff 20.77%, #0385ff 74.95%); */
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ai-description {
  color: #d6e0f8;
  text-align: center;
  font-family: "Lexend Deca";
  font-size: 1rem;
  font-style: normal;
  font-weight: 300;
  line-height: 27px;
  margin: 0 auto;
  max-width: 800px;
  padding-bottom: 20px;
}

/* For better accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

/* Focus styles for better accessibility */
:focus {
  outline: 0px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

.custom-content-section {
  margin: 0 auto;
  padding: 0 clamp(2rem, 6vw, 6rem);
}
.custom-content-section h2 {
  text-align: center;
  font-family: "Lexend Deca";
  font-size: 2.5rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.8px;
}
.trust-banner {
  /* display: flex; */
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  width: 100%;
  justify-content: center;
  margin: 24px auto;
  max-width: min(90rem, 100%);
  padding: 10px 0;
}

.trust-card {
  flex-grow: 1;
  border-radius: 8px;
  border: 2px solid rgba(34, 134, 232, 0.15);
  background: linear-gradient(
    139deg,
    rgba(71, 163, 254, 0) 8.39%,
    rgba(71, 163, 254, 0.16) 98.67%
  );
  padding: 32px;
  display: flex;
  align-items: center;
  gap: 5px;
  /* min-width: 265px;
max-width: 290px; */
  position: relative;
  overflow: hidden;
  justify-content: space-between;
  min-height: 85px;
  width: 100%;
}
/* .trust-card:first-child,
.trust-card:last-child {
  width: 22%;
} */

.trust-card:before {
  content: "";
  display: block;
  width: 99.44%;
  height: 98%;
  left: 1px;
  position: absolute;
  background: linear-gradient(
    92deg,
    #f2f6fc 1.54%,
    rgb(255 255 255) 50.15%,
    #f2f6fc 98.76%
  );
  margin: 0;
  border-radius: 8px;
  z-index: 0;
}
.trust-card .icon-container {
  top: 0;
  margin-left: 0;
  position: relative;
}
.trust-card:nth-last-child(-n+2) {
  grid-column: span 1;
}

.trust-card .content {
  display: flex;
  gap: 12px;
  position: relative;
  z-index: 1;
  width: 100%;
  align-items: center;
}

.trust-card .description {
  color: #000;
  font-family: "Lexend Deca";
  font-size: 1.15rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.ai-team-outer {
  background: #fff;
  position: relative;
  overflow: hidden;
  padding: 60px clamp(2rem, 6vw, 6rem) 30px clamp(2rem, 6vw, 6rem);
  position: relative;
}
.ellipse-left,
.ellipse-right {
  position: absolute;
  top: -85%;
}
.ellipse-left {
  left: -10%;
}
.ellipse-right {
  right: -10%;
}
.strategy-ellipse {
  position: absolute;
  left: 0;
  top: 0;
}

.ai-team-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  max-width: min(90rem, 100%);
  margin: 0 auto;
  padding: 0;
  text-align: center;
  position: relative;
  /* background: radial-gradient(38.03% 14.34% at 50% 0%, rgb(3 133 255 / 41%) 0%, rgb(1 14 27 / 0%) 60.33%), radial-gradient(23.89% 12.3% at 50% 103.77%, #008cff80 0%, rgba(20, 20, 22, 0) 99.38%), var(--0500, #010e1b); */
}
.ai-team-title {
  display: flex;
  justify-content: center;
  gap: 5px;
}
.ai-team-title .ai-star {
  margin-top: -10px;
  position: relative;
  left: 8px;
  width: 25px;
}
.ai-team-container p {
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 2.5rem;
  line-height: 27px;
}

/* Service dfetail page style end here */

/* Media query start here */
@media (max-width: 1200px) {
  .ai-services-card-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 1024px) {
  .services-list-outer {
    padding: 2rem 16px;
  }
  .grid-overlay-floating-logo {
    display: none;
  }
  .custom-content-section {
    padding: 0;
  }
}
/* Tablet styles (max-width: 768px) */
@media (max-width: 768px) {
  .ai-hero-container {
    flex-direction: column;
    padding-bottom: 0;
  }
  .ai-hero-left,
  .ai-hero-right {
    width: 100%;
    text-align: center;
  }
  .ai-hero-left {
    width: 100% !important;
  }
  .ai-hero-outer {
    padding: 5rem 1rem 1rem 1rem !important;
    border-radius: 0px 0px 50px 50px;
  }

  .service-hero-title-section {
    max-width: unset;
  }
  .service-hero-title-section h1 {
    font-size: 1.5rem;
  }
  .service-hero-title-section p {
    padding: 20px 0;
  }
  .services-container {
    max-width: unset;
  }
  .ai-dev-card {
    gap: 1.25rem;
    padding: 2rem;
    height: auto;
  }

  .ai-dev-title h1 {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }

  .ai-dev-description {
    width: 100%;
    font-size: 1rem;
    line-height: 1.5rem;
  }

  .ai-dev-image {
    width: 100%;
    height: auto;
    max-width: 500px;
  }
  .ai-services-card-list {
    grid-template-columns: repeat(1, 1fr);
  }
  .ai-hero-outer {
    padding: 6rem 1rem 3rem 1rem !important;
    border-radius: 0px 0px 50px 50px;
  }

  .ai-hero-right img {
    max-height: 370px;
    width: auto;
  }
  .ai-service-card {
    height: auto;
  }
 
}

/* Mobile styles (max-width: 640px) */
@media (max-width: 640px) {
  .ai-dev-card {
    gap: 1rem;
    padding: 1.5rem;
    height: auto;
  }

  .ai-dev-title h1 {
    font-size: 1.5rem;
    line-height: 2rem;
  }

  .ai-dev-description {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }

  .ai-dev-image-container {
    padding: 0;
  }

  .ai-dev-image {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
}
@media (resolution: 1.5dppx) {
  .ai-dev-title h3 {
    font-size: 1.5rem;
  }
  .ai-dev-description {
    font-size: 0.875rem;
  }
  .ai-service-card {
    height: 450px;
  }
}
